package com.chenqi.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @description: 标签类
 * @program: ardaicommunity
 * @author: ChenQi
 * @create: 2021-03-2021/3/11-16-49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("bms_tag")
public class Tag {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    @TableField("topic_count")
    private Integer topicCount;
}
